using System;
using System.ComponentModel.DataAnnotations;

namespace WebApplication8.Data
{
  public enum HomeWorkType
  {
    课程作业,
    章节作业,
    课后作业
  }
  public class Homework : AuditingEntityBase
  { 
    public HomeWorkType HomeWorkType { get; set; }
    public string Title { get; set; }
        public string BanJiId { get; set; }
        public BanJi BanJi { get; set; }
    public int Score { get; set; }
  }
  public class HomeworkDtl : EntityBase
    { 
    public int GroupIndex { get; set; }
    public string Group { get; set; }
    public int score { get; set; }
        public string QuestionId { get; set; }
        public Question Question { get; set; }
  }

}
